package com.cn.wanxi.mapper;

import com.cn.wanxi.entity.OnlineEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper

public interface OnlineMapper {

    List<OnlineEntity> findAll(OnlineEntity onlineEntity);

    int getCount(OnlineEntity onlineEntity);

    int del(Integer id);

    OnlineEntity findById(Integer id);

    int edit(OnlineEntity onlineEntity);

    int add(OnlineEntity onlineEntity);
}
